<template>
  <div style="margin-bottom: 20px;">
    <el-card class="box-card" body-style="padding:0px">
      <div slot="header" class="clearfix">
        <span>社区康复</span>
      </div>
      <el-form ref="form" :model="form">
        <el-descriptions :column="1" border>
          <el-descriptions-item label="选择展示列" label-class-name="labelBg">
            <el-checkbox-group v-model="form.lydplxList">
              <el-checkbox
                v-for="(item, index) in dict.type.lydplx"
                :key="index"
                :label="item.value"
              >{{ item.label }}</el-checkbox>
            </el-checkbox-group>
            </el-form-item>
          </el-descriptions-item>
        </el-descriptions>
      </el-form>
      <el-table
        :data="tableData"
        border
        style="width: 100%"
      >
        <el-table-column
          prop="date"
          label="日期"
          width="180"
        />
        <el-table-column
          prop="name"
          label="姓名"
          width="180"
        />
        <el-table-column
          prop="address"
          label="地址"
        />
      </el-table>
    </el-card>
  </div>
</template>
<script>
export default {
  dicts: ['lydplx'],
  data() {
    return {
      tableData: [],
      form: {
        lydplxList: []

      }
    }
  }
}
</script>
